package socnet.model;

public class Message {

	private int id;
	private String from;
	private String to;
	private String date;
	private String text;
	
	public Message(String from, String to, String date, String text){
		this.from = from;
		this.to = to;
		this.date = date;
		this.text = text;
	}
	
	public Message(){}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	
	
	
}
